package com.drinkian.authentication.entity.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;


@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_user_role")
public class UserRole {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private Long roleId;
    private Integer status;
    private Integer deleted;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp createTime;
    @TableField(fill = FieldFill.UPDATE)
    private Timestamp modifyTime;
}
